<template>
    <div class="register-index">
        <component :is="currentTabComponent"></component>
    </div>
</template>

<script>
    import single from './single-register'
    import mutil from './mutil-register/base'
    export default {
        components: {
            single,
            mutil,
        },
        data() {
            return {
                
            };
        },
        computed: {
            currentTabComponent() {
                return this.$store.getters.isMulti ? 'mutil' : 'single';
            }
        },            
    }
</script>

<style lang="scss">
</style>